{capture name="tiny_url"}{if $url}{get_scheme()}://{if $domain_url}{$domain_url->getDomain()}{else}{#RewriteHost#}{/if}/{$url->getKeyword()}{/if}{/capture}
<h1>Edit published URL</h1>
<form action="" method="post">
	<div class="form-field">
		<label>Date:</label>
		<b>{$publish->getDate()}</b><br />
	</div>
	<div class="form-field">
		<label>&nbsp;</label>
		<input type="checkbox" name="date" value="1" class="no-border" {if $date}checked="checked" {/if}/> Update published URL's date with today's date
		<br />
	</div>
	<div class="form-field">
		<label>Title:</label>
		<input type="text" name="title" value="{$publish->getTitle()|escape}" class="fill" />
	</div>
	<div class="form-field">
		<label>Tiny URL:</label>
		<input type="text" name="tinyurl" value="{$smarty.capture.tiny_url}" class="fill" />
	</div>
	<div class="form-field">
		<label>Content:</label>
		<textarea name="content" rows="0" cols="0" class="fill">{$publish->getContent()|escape}</textarea>
	</div>
	<div class="form-field">
		<input type="checkbox" name="visible" value="1" class="no-border" {if $publish->isVisible()}checked="checked" {/if}/> Visible
	</div>
	<div class="form-field center">
		<input type="submit" name="edit_button" value="Update" />
	</div>
</form>